package com.sunjob.common.domain.assets;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Accessory {
    //对应零件的id
    private Long accessoryId;
    //对应零件的名称
    private String accessoryName;
    //对应部件的id
    private Long partId;
    //零件的型号
    private String accessoryModel;
    //零件的规格
    private String accessorySpecification;
    //零件的厂家
    private String accessoryVender;
    //零件的产地
    private String accessoryArea;
    //零件的额定使用寿命
    private int time;
    //零件的剩余使用寿命
    private int lastTime;
    //零件的制造时间
    private Date accessoryCreateDate;
    //零件信息的创建时间
    private LocalDateTime createDate;
    //零件信息的修改时间
    private LocalDateTime modifyDate;
    //零件信息的创建人的id
    private Long creator;
    //零件信息的修改人的id
    private Long modifier;
    //零件信息的状态
    private int status;
}
